package com.dcy.adapter.objectadapter;

/**
 * @Author：dcy
 * @Description: 被适配类
 * @Date: 2021/1/21 9:18
 */
public class Voltage220V {

    /**
     * 输出220V电压
     * @return
     */
    public int output220V(){
        int src = 220;
        System.out.println("电压" + src +"伏");
        return src;
    }
}
